package com.molin.API.test1;

import java.util.Scanner;

public class Demo3StingBuilder {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入对称字符串: ");
        String s=sc.nextLine();
        StringBuilder sb=new StringBuilder(s);
        if(s.equals(sb.toString())){
            System.out.println("是");
        }else {
            System.out.println("不是");
        }
    }
}
